package com.gzcstec.ftp;

import lombok.Data;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;

/**
 * ftp客户端配置
 */
@Data
public class FTPClientPoolProperties extends GenericObjectPoolConfig {
    /*ftp服务器地址*/
    private String host="127.0.0.1";
    /*ftp端口*/
    private int port=21;
    /*ftp用户名*/
    private String username="root";
    /*ftp用户名登录密码*/
    private String password="123456";
    /*连接是否为主动模式*/
    private boolean passiveMode=true;
    /*字符集*/
    private String encoding="utf-8";
    /*连接超时时间*/
    private int clientTimeout=-1;
    /*转换的数据格式*/
    private int transferFileType=2;
    /*重新连接时间*/
    private int retryTimes=-1;
    /*缓冲区大小*/
    private int bufferSize=64;
    /*工作根目录*/
    private String workingDirectory;
    private String fileSeparator="/";

}
